/**
 * <p>
 *
 * @Author：Roy
 * @Description：公司
 * @Date：Create by 2023-11-23 09:55:21
 */
const cardConfig = {
  'scene-company': {
    cardType: 'TableCard',
    cardData: {},
    dataType: 'table',
    moduleBtnList: [
      {
        label: '新增',
        icon: 'el-icon-plus',
        type: 'primary',
        id: 'scene-company-add',
        authId: 'ecp-admin:sceneCompany:add'
      },
      {
        label: '批量删除',
        type: 'danger',
        plain: true,
        icon: 'el-icon-delete',
        id: 'scene-company-deleteBatch',
        authId: 'ecp-admin:sceneCompany:batchDelete'
      }
    ],
    mainClass: 'main-padding20',
    isMultiple: true,
    paginationParams: { page: 1, limit: 10 },
    path: 'sceneCompany.queryList',
    id: 'ecp-admin-sceneCompany'
  }
}
const treeConfig = {
  'scene-company' : {
    inputConfig: {
      placeholder: '公司名称'
    },
    inputStyle: { 'padding-top': '20px' },
    dataResolveConfig: {
      id: 'id',
      parentId: 'parentId'
    },
    btnList: [
      {
        id: 'all',
        type: 'default',
        label: '全部'
      }
    ],
    attrConfig: {
      'node-key': 'id',
      props: {
        children: 'children',
        label: 'label',
        value: 'id'
      }
    },
    childrenParams: true,
    defaultExpandedIndex: ['0', '00'],
    path: 'companyAndRoomAndFloorAndEdificeAndProjectTree',
    id: 'scene-company-tree'
  }
}
export default {}
export { cardConfig, treeConfig }
